package com.wn.mapper;

import com.wn.pojo.Card;
import java.util.List;

import java.util.List;

public interface CardMapper {//
    int deleteByPrimaryKey(Integer id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Card record);

    int updateByPrimaryKey(Card record);

    Card selectById(Integer id);

    //查询所有
    List<Card> selectAll();

    //高级检索
    List<Card> superSearch(String superSearchKeyWord);

    int updateStatus(Card card1);

    Card selectByPatientId(Integer patientId);
}